package mt.tests;

import mt.Order;
import mt.comm.ServerSideMessage;

public class TestServerSideMessage implements ServerSideMessage {

	private mt.comm.ServerSideMessage.Type type;
	private String nickname;
	private Order order;
	
	public TestServerSideMessage(Type type, String nickname, Order order) {
		this.type = type;
		this.nickname = nickname;
		this.order = order;
	}
	
	@Override
	public mt.comm.ServerSideMessage.Type getType() {
		return type;
	}

	@Override
	public String getSenderNickname() {
		return nickname;
	}

	@Override
	public Order getOrder() {
		return order;
	}
	

}
